package com.atguigu.springcloud.service;


import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfoOK(Integer id) {
        return "PaymentFallbackService paymentInfoOK 兜底方法 " +id;
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "PaymentFallbackService paymentInfoTimeout 兜底方法 " +id;
    }
}
